//
//  RGSearchView.h
//  RedGrass
//
//  Created by wukong on 2019/2/13.
//  Copyright © 2019年 hongcaosp. All rights reserved.
//

#import "BaseView.h"

@class RGSearchView;

@protocol RGSearchViewDelegate<NSObject>

//切换显示
-(void) changeSearchResultUIWithView:(RGSearchView *)view tag:(NSInteger)tag;

//搜索
-(void) searchVedioAndUserWithView:(RGSearchView *)view  text:(NSString *)text;

//返回
-(void) backWithView:(RGSearchView *)view;

@end

NS_ASSUME_NONNULL_BEGIN

@interface RGSearchView : BaseView

@property (weak, nonatomic) id<RGSearchViewDelegate> viewDelegate;
@property (strong, nonatomic) UIScrollView *containerView;

-(void) becomFirstReponse;

@end

NS_ASSUME_NONNULL_END
